From 934b3f686529f9742495362cca9df57a70e88092 Mon Sep 17 00:00:00 2001 From: Phillip Wood Date: Wed, 17 Feb 2016 10:10:25 +0000 Subject: [PATCH] Document that GtkApplication loads gtk/menus-common.ui Add a comment about the resource gtk/menus-common.ui to the documentation of the other resources loaded by GtkApplication. https://bugzilla.gnome.org/show_bug.cgi?id=761432 --- gtk/gtkapplication.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index ce023a21ab..9ecd969be6 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -84,8 +84,11 @@ * dynamic population of a part of the menu structure. * * If the resources "gtk/menus-appmenu.ui" or "gtk/menus-traditional.ui" are - * present then these files will be used in preference, depending on the - * value of gtk_application_prefers_app_menu(). + * present then these files will be used in preference, depending on the value + * of gtk_application_prefers_app_menu(). If the resource "gtk/menus-common.ui" + * is present it will be loaded as well. This is useful for storing items that + * are referenced from both "gtk/menus-appmenu.ui" and + * "gtk/menus-traditional.ui". * * It is also possible to provide the menus manually using * gtk_application_set_app_menu() and gtk_application_set_menubar(). -- 2.30.2